/* 
 * @Author: anchen
 * @Date:   2018-01-19 11:36:33
 * @Last Modified by:   anchen
 * @Last Modified time: 2018-03-16 12:08:29
 */
$(document).ready(function() {
   

    //公众号
   
    var count = wechatData.length;
    for (var i = 0;i < count;i++) {
        var slides = $('<div class="swiper-slide"><img src="'+wechatData[i].src+'"  /><p>'+wechatData[i].msg+'</p></div>');
        $('.js-swiper-wrapper').append(slides);
    }
    
    var count2 = ourworks.length;
    for (var i = 0;i < count2;i++) {
        var works = $('<div class="img-content"><img src="'+ourworks[i].src+'" alt="" /><div class="img-msg"><a href="#" >'+ourworks[i].msg+'</a></div></div>');
        $('.js-work-works').append(works);
    }
})